using System;
using spData.Common;
using spData.Common.Mappings;

namespace spMapping
{
    [Table]
    [Serializable]
    public class dc_wy_Htsp_Details : DataObject
    {

        [ID]
        [DID]
        public String ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private String _ID;
        public static FieldInfo id = new FieldInfo("dc_wy_Htsp_Details", "ID");

        [Column]
        public String Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private String _Process;
        public static FieldInfo process = new FieldInfo("dc_wy_Htsp_Details", "Process");

        [Column]
        public Int32 Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } }
        private Int32 _Incident;
        public static FieldInfo incident = new FieldInfo("dc_wy_Htsp_Details", "Incident");

        [Column]
        public String UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } }
        private String _UserName;
        public static FieldInfo userName = new FieldInfo("dc_wy_Htsp_Details", "UserName");

        [Column]
        public Int32 No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } }
        private Int32 _No;
        public static FieldInfo no = new FieldInfo("dc_wy_Htsp_Details", "No");

        [Column]
        public String PayOrder { get { return _PayOrder; } set { _PayOrder = value; EntityState.FieldChange("PayOrder"); } }
        private String _PayOrder;
        public static FieldInfo payOrder = new FieldInfo("dc_wy_Htsp_Details", "PayOrder");

        [Column]
        public String PayType { get { return _PayType; } set { _PayType = value; EntityState.FieldChange("PayType"); } }
        private String _PayType;
        public static FieldInfo payType = new FieldInfo("dc_wy_Htsp_Details", "PayType");

        [Column]
        public String PayRemarks { get { return _PayRemarks; } set { _PayRemarks = value; EntityState.FieldChange("PayRemarks"); } }
        private String _PayRemarks;
        public static FieldInfo payRemarks = new FieldInfo("dc_wy_Htsp_Details", "PayRemarks");

        [Column]
        public System.DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private System.DateTime _Time;
        public static FieldInfo time = new FieldInfo("dc_wy_Htsp_Details", "Time");

        [Column]
        public Int32 Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private Int32 _Status;
        public static FieldInfo status = new FieldInfo("dc_wy_Htsp_Details", "Status");
    }
}
